# Contributor: Lindsay Zhou <i@lin.moe>
# Maintainer: Lindsay Zhou <i@lin.moe>
pkgname=fcitx5-table-other
pkgver=5.1.3
pkgrel=0
pkgdesc="other-table input method support for fcitx5"
url="https://github.com/fcitx/fcitx5-table-other"
arch="noarch"
license="GPL-3.0-only"
makedepends="
	cmake
	extra-cmake-modules
	gettext-dev
	fcitx5-dev
	libime-dev
	samurai
	"
source="$pkgname-$pkgver.tar.gz::https://github.com/fcitx/fcitx5-table-other/archive/refs/tags/$pkgver.tar.gz"
options="!check" # no tests

build() {
	cmake -B build -G Ninja \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr
	cmake --build build
}

package() {
	DESTDIR="$pkgdir" cmake --install build
}

sha512sums="
94a5f3832365789d7f850333029c9fc0c23cc9611cda1cbee16902dcd6ac34b5767bf4e591d96d408ba57007d652864f3e4bcf10ac22c5947d8755194a4104cb  fcitx5-table-other-5.1.3.tar.gz
"
